package com.aaa.mk.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 广告位(Advertise)实体类
 *
 * @author han qu
 * @since 2021-02-21 21:44:21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Advertise implements Serializable {
    private static final long serialVersionUID = -38277769329126004L;

    private Integer id;

    private String name;
    /**
     * 轮播位置
     */
    private Integer positionId;
    /**
     * 图片地址
     */
    private String pic;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    /**
     * 上下线状态：0->下线；1->上线
     */
    private Integer status;
    /**
     * 点击数
     */
    private Integer clickCount;
    /**
     * 下单数
     */
    private Integer orderCount;
    /**
     * 链接地址
     */
    private String url;
    /**
     * 备注
     */
    private String note;
    /**
     * 排序
     */
    private Integer sort;

    private String mpname;


}